<script setup lang="ts">
import { onMounted } from 'vue';

onMounted(() => {
  // 取消开始的loading动画
  const preLoader = document.querySelector('#pre-loader');
  if (preLoader && (preLoader as HTMLElement).style) {
    (preLoader as HTMLElement).style.display = 'none';
  }
});
</script>
<template>
  <router-view />
</template>

<style scoped></style>
